﻿
@{
    ViewData["Title"] = "ShowReportlossesView";
    Layout = "~/Views/Shared/Template.cshtml";
}

<div style="padding: 16px;margin-bottom:10px">
    <h3><span style="color:gray">报损管理</span></h3>
</div>
<div style="padding: 16px;margin-bottom:20px">
    <h4>数据筛选</h4>
    <hr />
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">报损单号:</label>
                <div class="layui-input-block">
                    <input type="text" id="reportlossesNos" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">单据类型：</label>
                <div class="layui-input-block">
                    <select id="reportlossesTypes" name="reportlossesType" lay-filter="mySelectFilter">
                        <option value="">请选择</option>
                        <option value="采购收货入库">采购收货入库</option>
                        <option value="销售退货入库">销售退货入库</option>
                        <option value="生产产品入库">生产产品入库</option>
                        <option value="领用退还入库">领用退还入库</option>
                        <option value="借货入库">借货入库</option>
                    </select>
                </div>
            </div>

            @* <div class="layui-inline">
                <label class="layui-form-label">单据状态：</label>
                <div class="layui-input-block">
                    <select id="documentState" name="documentState" lay-filter="mySelectFilter">
                        <option value="">全部</option>
                        <option value="1">等待审核</option>
                        <option value="2">审核成功</option>
                        <option value="3">审核失败</option>
                    </select>
                </div>
            </div> *@



            <div class="layui-inline">
                <div class="layui-btn-container">
                    <button type="button" class="layui-btn layui-bg-blue" onclick="RepoShow()">
                        <i class="layui-icon layui-icon-search"></i>查询
                    </button>
                    <button type="button" class="layui-btn layui-bg-gray">
                        <i class="layui-icon layui-icon-refresh"></i>重置
                    </button>
                </div>
            </div>

            <hr />
            <hr />
            <div style="float:left">
                <h4>数据列表</h4>
            </div>
            <div style="float:right">
                <div class="layui-btn-container">
                    <button type="button" class="layui-btn layui-bg-blue" lay-on="test-page-custom" onclick="location.href='/Reportlosses/AddReportlossesView'">
                        <i class="layui-icon layui-icon-add-1"></i>新增
                    </button>
                    <button type="button" class="layui-btn layui-bg-blue" id="batchDeleteBtn">
                        <i class="layui-icon layui-icon-delete"></i>删除
                    </button>
                    <button type="button" class="layui-btn layui-bg-blue">
                        <i class="layui-icon layui-icon-refresh"></i>刷新
                    </button>
                </div>
            </div>
        </div>
    </form>
    <div>
        <table class="layui-hide" id="showReportlosses" lay-filter="test"></table>
    </div>

 
</div>

@* <table class="layui-table">
    <tr>
        <th>
            <input type="checkbox" id="checkAll" onclick="checkAll()" value="" />
        </th>
        <th>报损单号</th>
        <th>产品名称</th>
        <th>产品编号</th>
        <th>批次</th>
        <th>规格</th>
        <th>数量</th>
        <th>仓库</th>
        <th>原库位</th>
        <th>报损库位</th>
        <th>报损类型</th>
        <th>状态</th>
        <th>审核人</th>
        <th>审核时间</th>
        <th>操作</th>
    </tr>
    <tbody id="data"></tbody>

</table> *@


<script type="text/html" id="toolbarDemo">
</script>
<div id="demo-laypage-layout"></div>

<script src="~/js/warehouse/reportlosses/reportlossesshow.js"></script>
